package com.laolang.shop.modules.auth.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author khlbat
 * @version 1.0
 * @date 2020/11/1 20:46
 */
@Data
@Configuration
@ConfigurationProperties(prefix = JwtProperty.JWT_PREFIX)
public class JwtProperty {
    public static final String JWT_PREFIX = "shop.jwt";

    private String header;

    private String secret;

    private Long expiration;

    private String authPath;

    private String md5Key;

    private String tokenKey;

    private Boolean fixing;
}
